package com.example.unveil_the_leader.service;

import com.example.unveil_the_leader.common.RegisterMsg;
import com.example.unveil_the_leader.common.Result;
import com.example.unveil_the_leader.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
* @author XCT
* @description 针对表【users】的数据库操作Service
* @createDate 2024-01-26 15:58:16
*/
public interface UsersService extends IService<Users> {

    //登录
    Result login(String username,String password);

    //注册
    Result register(String username, String password, String QQ,String code,HttpServletRequest request);

    //修改个人信息
    Result updateMsg(Users users);

    //发送验证码
    Result getCode(String mail, HttpServletRequest request);

    //检查验证码
    RegisterMsg checkCode(String vqq,String vcode, HttpServletRequest request);

    //同意用户加入项目





}
